package zyqMany;

import java.util.List;

public class Stu {
    private String sid;
    private String stuName;
    private String teacher_id;
    private List<Course> courses;
    public Stu(){}
    public Stu(String sid, String name) {
        this.sid = sid;
        this.stuName = name;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getTeacher_id() {
        return teacher_id;
    }

    public void setTeacher_id(String teacher_id) {
        this.teacher_id = teacher_id;
    }

    public List<Course> getCourses() {
        return courses;
    }

    public void setCourses(List<Course> courses) {
        this.courses = courses;
    }

    public String toString() {
        return "Student{" +
                "sid='" + sid + '\'' +
                ", stuName='" + stuName + '\'' +
                '}';
    }
}